aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-05-06 03:02:19 +0200
committerLorenz Diener <[email protected]>2018-05-06 03:02:19 +0200
commitbb92f76e61063bbe59868659fb42824d3649c7b2 (patch)
tree3977c4da17684c323ecb2c0b07f366daa532c6ac /tests/cassettes/test_status_post[Content warning-direct].yaml
parent3676e43f1198bb0cf57bfd68e5c553d927597a62 (diff)
downloadmastodon.py-bb92f76e61063bbe59868659fb42824d3649c7b2.tar.gz
Refresh casettes and add some new ones
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-direct].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-direct].yaml24
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-direct].yaml b/tests/cassettes/test_status_post[Content warning-direct].yaml
index ed841b4..f85eb2a 100644
--- a/tests/cassettes/test_status_post[Content warning-direct].yaml
+++ b/tests/cassettes/test_status_post[Content warning-direct].yaml
@@ -1,6 +1,6 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: status=Toot%21&visibility=direct&spoiler_text=Content+warning 3 body: spoiler_text=Content+warning&status=Toot%21&visibility=direct
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept: ['*/*']
6 Accept-Encoding: ['gzip, deflate'] 6 Accept-Encoding: ['gzip, deflate']
@@ -12,23 +12,23 @@ interactions:
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"99979315100687772","created_at":"2018-05-05T23:34:39.754Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 15 body: {string: '{"id":"99979652252757854","created_at":"2018-05-06T01:00:24.324Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
16 warning","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979315100687772","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979315100687772","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py 16 warning","visibility":"direct","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/99979652252757854","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/99979652252757854","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"reblog":null,"application":{"name":"Mastodon.py
17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
18 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI 18 Lennon","locked":true,"created_at":"2018-04-18T20:04:06.511Z","note":"\u003cp\u003eI
19 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpe","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpe","followers_count":0,"following_count":0,"statuses_count":126},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 19 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":130},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
20 headers: 20 headers:
21 Cache-Control: ['max-age=0, private, must-revalidate'] 21 Cache-Control: ['max-age=0, private, must-revalidate']
22 Content-Type: [application/json; charset=utf-8] 22 Content-Type: [application/json; charset=utf-8]
23 ETag: [W/"a8f455080fa5d35eadbb5bfa4fdce71d"] 23 ETag: [W/"420483fe20939f995277a21f0a4d2f31"]
24 Transfer-Encoding: [chunked] 24 Transfer-Encoding: [chunked]
25 Vary: ['Accept-Encoding, Origin'] 25 Vary: ['Accept-Encoding, Origin']
26 X-Content-Type-Options: [nosniff] 26 X-Content-Type-Options: [nosniff]
27 X-Frame-Options: [SAMEORIGIN] 27 X-Frame-Options: [SAMEORIGIN]
28 X-Request-Id: [d57e7d5c-a422-47f1-8240-14fb6e1e0d5d] 28 X-Request-Id: [308a317e-eb81-48c1-a50d-31a18d512c0f]
29 X-Runtime: ['0.233752'] 29 X-Runtime: ['0.296357']
30 X-XSS-Protection: [1; mode=block] 30 X-XSS-Protection: [1; mode=block]
31 content-length: ['1397'] 31 content-length: ['1401']
32 status: {code: 200, message: OK} 32 status: {code: 200, message: OK}
33- request: 33- request:
34 body: null 34 body: null
@@ -40,19 +40,19 @@ interactions:
40 Content-Length: ['0'] 40 Content-Length: ['0']
41 User-Agent: [python-requests/2.9.1] 41 User-Agent: [python-requests/2.9.1]
42 method: DELETE 42 method: DELETE
43 uri: http://localhost:3000/api/v1/statuses/99979315100687772 43 uri: http://localhost:3000/api/v1/statuses/99979652252757854
44 response: 44 response:
45 body: {string: '{}'} 45 body: {string: '{}'}
46 headers: 46 headers:
47 Cache-Control: ['max-age=0, private, must-revalidate'] 47 Cache-Control: ['max-age=0, private, must-revalidate']
48 Content-Type: [application/json; charset=utf-8] 48 Content-Type: [application/json; charset=utf-8]
49 ETag: [W/"e6f6baf373676f7340afb2dd8c03f83d"] 49 ETag: [W/"7e60af899f83a4649ca4a3417dfbd2c9"]
50 Transfer-Encoding: [chunked] 50 Transfer-Encoding: [chunked]
51 Vary: ['Accept-Encoding, Origin'] 51 Vary: ['Accept-Encoding, Origin']
52 X-Content-Type-Options: [nosniff] 52 X-Content-Type-Options: [nosniff]
53 X-Frame-Options: [SAMEORIGIN] 53 X-Frame-Options: [SAMEORIGIN]
54 X-Request-Id: [4fdaea12-27b1-481e-b0dd-e0ecd7a056dc] 54 X-Request-Id: [0ed30429-1491-49e8-bffe-2e1317324155]
55 X-Runtime: ['0.087448'] 55 X-Runtime: ['0.025306']
56 X-XSS-Protection: [1; mode=block] 56 X-XSS-Protection: [1; mode=block]
57 content-length: ['2'] 57 content-length: ['2']
58 status: {code: 200, message: OK} 58 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)